<?php

$k = $_GET['k'];

// 读老数据 
$oldData = file_get_contents('./data/db.txt');
// 把json数据转成数组 
$oldData = json_decode($oldData,true);

$data = $oldData[$k];

include './template/edit.html';